﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001399 RID: 5017
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeRogueScoreRewardCsReq : IMessage<TakeRogueScoreRewardCsReq>, IMessage, IEquatable<TakeRogueScoreRewardCsReq>, IDeepCloneable<TakeRogueScoreRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003F42 RID: 16194
		// (get) Token: 0x0600E0A7 RID: 57511 RVA: 0x00258B81 File Offset: 0x00256D81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeRogueScoreRewardCsReq> Parser
		{
			get
			{
				return TakeRogueScoreRewardCsReq._parser;
			}
		}

		// Token: 0x17003F43 RID: 16195
		// (get) Token: 0x0600E0A8 RID: 57512 RVA: 0x00258B88 File Offset: 0x00256D88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeRogueScoreRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F44 RID: 16196
		// (get) Token: 0x0600E0A9 RID: 57513 RVA: 0x00258B9A File Offset: 0x00256D9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeRogueScoreRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600E0AA RID: 57514 RVA: 0x00258BA1 File Offset: 0x00256DA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueScoreRewardCsReq()
		{
		}

		// Token: 0x0600E0AB RID: 57515 RVA: 0x00258BB4 File Offset: 0x00256DB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueScoreRewardCsReq(TakeRogueScoreRewardCsReq other) : this()
		{
			this.rowList_ = other.rowList_.Clone();
			this.poolId_ = other.poolId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E0AC RID: 57516 RVA: 0x00258BEA File Offset: 0x00256DEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueScoreRewardCsReq Clone()
		{
			return new TakeRogueScoreRewardCsReq(this);
		}

		// Token: 0x17003F45 RID: 16197
		// (get) Token: 0x0600E0AD RID: 57517 RVA: 0x00258BF2 File Offset: 0x00256DF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> RowList
		{
			get
			{
				return this.rowList_;
			}
		}

		// Token: 0x17003F46 RID: 16198
		// (get) Token: 0x0600E0AE RID: 57518 RVA: 0x00258BFA File Offset: 0x00256DFA
		// (set) Token: 0x0600E0AF RID: 57519 RVA: 0x00258C02 File Offset: 0x00256E02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PoolId
		{
			get
			{
				return this.poolId_;
			}
			set
			{
				this.poolId_ = value;
			}
		}

		// Token: 0x0600E0B0 RID: 57520 RVA: 0x00258C0B File Offset: 0x00256E0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeRogueScoreRewardCsReq);
		}

		// Token: 0x0600E0B1 RID: 57521 RVA: 0x00258C1C File Offset: 0x00256E1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeRogueScoreRewardCsReq other)
		{
			return other != null && (other == this || (this.rowList_.Equals(other.rowList_) && this.PoolId == other.PoolId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E0B2 RID: 57522 RVA: 0x00258C6C File Offset: 0x00256E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.rowList_.GetHashCode();
			if (this.PoolId != 0U)
			{
				num ^= this.PoolId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E0B3 RID: 57523 RVA: 0x00258CB9 File Offset: 0x00256EB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E0B4 RID: 57524 RVA: 0x00258CC1 File Offset: 0x00256EC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E0B5 RID: 57525 RVA: 0x00258CCC File Offset: 0x00256ECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.rowList_.WriteTo(ref output, TakeRogueScoreRewardCsReq._repeated_rowList_codec);
			if (this.PoolId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.PoolId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E0B6 RID: 57526 RVA: 0x00258D1C File Offset: 0x00256F1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.rowList_.CalculateSize(TakeRogueScoreRewardCsReq._repeated_rowList_codec);
			if (this.PoolId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PoolId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E0B7 RID: 57527 RVA: 0x00258D70 File Offset: 0x00256F70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeRogueScoreRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.rowList_.Add(other.rowList_);
			if (other.PoolId != 0U)
			{
				this.PoolId = other.PoolId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E0B8 RID: 57528 RVA: 0x00258DBD File Offset: 0x00256FBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E0B9 RID: 57529 RVA: 0x00258DC8 File Offset: 0x00256FC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U && num != 66U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PoolId = input.ReadUInt32();
					}
				}
				else
				{
					this.rowList_.AddEntriesFrom(ref input, TakeRogueScoreRewardCsReq._repeated_rowList_codec);
				}
			}
		}

		// Token: 0x040058F7 RID: 22775
		private static readonly MessageParser<TakeRogueScoreRewardCsReq> _parser = new MessageParser<TakeRogueScoreRewardCsReq>(() => new TakeRogueScoreRewardCsReq());

		// Token: 0x040058F8 RID: 22776
		private UnknownFieldSet _unknownFields;

		// Token: 0x040058F9 RID: 22777
		public const int RowListFieldNumber = 8;

		// Token: 0x040058FA RID: 22778
		private static readonly FieldCodec<uint> _repeated_rowList_codec = FieldCodec.ForUInt32(66U);

		// Token: 0x040058FB RID: 22779
		private readonly RepeatedField<uint> rowList_ = new RepeatedField<uint>();

		// Token: 0x040058FC RID: 22780
		public const int PoolIdFieldNumber = 11;

		// Token: 0x040058FD RID: 22781
		private uint poolId_;
	}
}
